from django.urls import path
from . import views
from django.urls import path, include
from django.conf import settings
app_name = 'users'

urlpatterns =[
    # path('login/',views.LoginView.as_view,name='login'),#使用视图类必须用as.view
    # path('register/',views.RegisterView.as_view,name='register'),
    path('login/', views.login1,name='login'),
    path('register/', views.register1, name='register'),
    ]
